Release 10.1A: OpenEdge Data Management:
Database Administration
Activating a single index
Indexes that are added to your database while it is online are inactive until you specifically initiate activation with PROUTIL IDXACTIVATE. When you run IDXACTIVATE you provide the name of one inactive index on the command line. The general syntax is as follows:
See the "PROUTIL IDXACTIVATE qualifier" section for the details of the command.
Prior to activating the index, IDXACTIVATE checks to make sure that there are no users with a schema timestamp that is earlier than the schema timestamp of the index. If any such users are connected to the database, IDXACTIVATE cannot proceed. You are given the option of waiting or cancelling the index activation. If you chose to wait, you must wait until all the users with an earlier schema timestamp disconnect, or you can use PROSHUT to forcibly remove the connections. You control the update of the status display of blocking users with the
refreshoption. The number supplied torefreshindicates the number of seconds between displays of blocking users.When IDXACTIVATE activates and builds the index, it bundles records into transactions. By default, 100 records are bundled into one transaction. You can alter that number with the
recsoption. The number you specify for therecsoption is the number of records to bundle into one transaction.The following output shows the output of IDXACTIVATE. In this example the index
tst_table.inact3is activated for the databasedoc_db; no optional parameters are specified so default values are used. The cycle of waiting for users to disconnect executes twice before all the users with old timestamps are disconnected and the index is activated.
Once the IDXACTIVATE command completes, the index is active and all users can access it.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |